﻿namespace WeWork.Model
{
    /// <summary>
    /// 表情
    /// </summary>
    public class ChatCard : MsgChatRoomBase
    {
        /*
        {
            "msgid":"13714216591700685558_1603875680",
            "action":"send",
            "from":"kenshin",
            "tolist":["wmGAgeDQAAy2Dtr0F8aK4dTuatfm-5Rg"],
            "roomid":"","msgtime":1603875680377,
            "msgtype":"card",
            "card":{
                "corpname":"微信联系人",
                "userid":"wmGAgeDQAAGjFmfnP7A3j2JxQDdLNhSw"
            }
        }
        */
        /// <summary>
        /// 消息内容
        /// </summary>
        public CardInfo card { set; get; }
    }

    public class CardInfo
    {
        /// <summary>
        /// 地址信息。String类型
        /// </summary>
        public string corpname { set; get; }
        /// <summary>
        /// 位置信息的title。String类型
        /// </summary>
        public string userid { set; get; }
    }
}
